/*
 * yDebugTools.h
 *
 *  Created on: Sep 17, 2016
 *      Author: root
 */

#ifndef BASE_TOOLS_YDEBUGTOOLS_H_
#define BASE_TOOLS_YDEBUGTOOLS_H_

#include <string>
#include <memory>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <signal.h>
#include <execinfo.h>
#define MAX_STACK_FRAMES 32
void onCrashHandler(int signum);
void setCrashHook();

#endif /* BASE_TOOLS_YDEBUGTOOLS_H_ */
